<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>运动封装</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 800px;
            height: 800px;
            position: relative;
            border-right: 10px solid pink;
        }
        .move{
            width: 100px;
            height: 100px;
            background: skyblue;
            position: absolute;
            left: 100px;
            font-size: 20px;
            text-align: center;
            line-height: 100px;
        }
        button{
            position: absolute;
            top: 200px;
            left: 0;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="move"></div>
    </div>
    <button>运动</button>

    <script src="./js/move.js"></script>
</body>
</html>